<?php
/**
 * @Author: Ron Chen
 * @Date:   2016-12-12 21:56:12
 * @Last Modified by:   Ron Chen
 * @Last Modified time: 2016-12-12 22:15:42
 */

namespace backend\components;


/**
*  后台提示消息组件
*/
class FlashMessage{
	
	const FLASH_MESSAGE_SUCCESS = 1;
	const FLASH_MESSAGE_INFO    = 2;
	const FLASH_MESSAGE_WARING  = 3;
	const FLASH_MESSAGE_DANGER  = 4;
	const FLASH_MESSAGE_PRIMARY = 5;
	const FLASH_MESSAGE_DEFAULT = 6;
	const FLASH_MESSAGE_CUSTON  = 7;
	

	public static $flash_message = [
		self::FLASH_MESSAGE_SUCCESS = "success",
		self::FLASH_MESSAGE_INFO    = "info",
		self::FLASH_MESSAGE_WARING  = "waring",
		self::FLASH_MESSAGE_DANGER  = "danger",
		self::FLASH_MESSAGE_PRIMARY = "primary",
		self::FLASH_MESSAGE_DEFAULT = "default",
		self::FLASH_MESSAGE_CUSTON  = "custon",
	];
}